 
 
 

 class ImManager {
  init(){
    print('ffffffff');
  }

   login(m,n,b,{faceUrl}){

  }
  logout(){}
  getFriendList(){}
getFriendsInfo({userId}){}
addFriend({userId,remark}){}
addMessageListener({onCallback}){}
getConversationDetails({conversationId}){}

getHistoryMessageList({userId,groupId}){}
sendMessage({text,userId,groupId}){}
markC2CMessageAsRead({userID}){}
addConversationListener({onConversationUpdated,onTotalUnreadMessageCountUpdated}){}


 }
 
class V2TimConversation {
   var showName;
}


class MessageElemType {
  static var V2TIM_ELEM_TYPE_TEXT;
}


 class V2TimUserFullInfo {
  final String userID;
  final String? nickName;
  final String? faceUrl;
  
  
  V2TimUserFullInfo({
    required this.userID,
    this.nickName,
    this.faceUrl
  });
}

 


class V2TimTextElem {
  final String text;
  V2TimTextElem({
    required this.text
  });
}
 


class V2TimMessage {
  final String sender;
  final String nickName;
  final String elemType;
  final String faceUrl;
  
  var textElem;
 


  V2TimMessage({
    required this.sender,
    required this.nickName,
    required this.elemType,
    required this.textElem,
    required this.faceUrl
  });

}

 